interface HttpUtilType {
  isDelete: (value: string | Request) => boolean;
  isGet: (value: string | Request) => boolean;
  isHead: (value: string | Request) => boolean;
  isOptions: (value: string | Request) => boolean;
  isPatch: (value: string | Request) => boolean;
  isPost: (value: string | Request) => boolean;
  isPut: (value: string | Request) => boolean;
  isMatchHeaderKey: (request: Request, key: string) => boolean;
  isMatchHeaderValue: (request: Request, key: string, value: string) => boolean;
}

export declare const HttpUtil: HttpUtilType;

export declare const enum HttpMethod {
  GET = "GET",
  POST = "POST",
  HEAD = "HEAD",
  PUT = "PUT",
  PATCH = "PATCH",
  DELETE = "DELETE",
  OPTIONS = "OPTIONS",
  TRACE = "TRACE",
  CONNECT = "CONNECT",
}
